<!DOCTYPE html>
<html class="pixel-ratio-1" style="background-color: #f1f1f1">
    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
        <meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate" />
        <meta name="viewport" content="width=375,user-scalabe=no" />
        <meta http-equiv="pragma" content="no-cache" />
        <meta http-equiv="expires" content="0" />
        <script src="../../../../public/vendor/flexible/flexible.js"></script>
        <title>过磅信息-确认</title>
        <link rel="stylesheet" type="text/css" href="../../../../public/vendor/weui/weui.min.css" />
        <link rel="stylesheet" type="text/css" href="../../../../public/css/common.css" />
        <link rel="stylesheet" type="text/css" href="../../../../public/css/iconfont/iconfont.css" />
        <link rel="stylesheet" href="../../../../public/vendor/weui/jquery-weui.css" />
        <link rel="stylesheet" href="../../../../public/vendor/select2/select2.css" />
        <link rel="stylesheet" href="../../../../public/css/features/breedsales/saleorders/addsaleorders.css" />

        <script id="weight-template" type="text/x-template">
            {{~ it :value:index}}
            <div class="report-contents-item-box" style="padding:15px">
                <div class="weui-flex marbot">
                    <div>
                        <div class="placeholder" style="font-weight:800">农场：{{=value.farmOrgName}}</div>
                    </div>
                </div>
                <div class="weui-flex marbot">
                    <div>
                        <div class="placeholder" style="font-weight:800">养殖批次：{{=value.breedBatchName}}</div>
                    </div>
                </div>
                <div class="weui-flex marbot">
                    <div>
                        <div class="placeholder">物料：{{=value.material}}</div>
                    </div>
                </div>
                <div class="weui-flex marbot">
                    <div>
                        <div class="placeholder">销售员：{{=value.salePer}}</div>
                    </div>
                </div>
                <div class="weui-flex marbot" style="font-size: 14px;">
                    <div class="weui-flex__item">
                        <div class="placeholder" style="color:#4d4d4d">单价(元)：<span style="color:#ee6808">{{=value.unitPrice}}</span></div>
                    </div>
                </div>
                {{? Utils.IsNotNull(value.count)}}
                <div class="weui-flex marbot" style="font-size: 14px;">
                    <div class="weui-flex__item">
                        <div class="placeholder" style="color:#4d4d4d">数量(头)：<span style="color:#ee6808">{{=Utils.toThousands(value.count,0)}}</span></div>
                    </div>
                </div>
                {{??}}
                <div class="weui-flex marbot" style="font-size: 14px;">
                    <div class="weui-flex__item">
                        <div class="placeholder" style="color:#4d4d4d">数量(头)：<span style="color:#ee6808">{{=Utils.toThousands(value.planQty,0)}}</span></div>
                    </div>
                </div>
                {{?}}

                <div class="weui-flex marbot" style="font-size: 14px;">
                    <div class="weui-flex__item">
                        <div class="placeholder" style="color:#4d4d4d">重量(kg)：<span style="color:#ee6808">{{=Utils.toThousands(value.weight)}}</span></div>
                    </div>
                </div>
                <div class="weui-flex marbot" style="font-size: 14px;">
                    <div class="weui-flex__item">
                        <div class="placeholder" style="color:#4d4d4d">预估均重(kg)：<span style="color:#ee6808">{{=Utils.toThousands(value.estimatedAvgWeight)}}</span></div>
                    </div>
                </div>
                <div class="weui-flex marbot">
                    <div>
                        <div class="placeholder">司机姓名：<span id="deiverName">{{=value.deiverName}}</span></div>
                        <div class="placeholder">司机电话：<span id="deiverPhone">{{=value.deiverPhone}}</span></div>
                        <input type="text" class="weui-select clearContent" nohtml="true" id="waybillNo" autocomplete="off" hidden />
                        <input type="text" class="weui-select clearContent" nohtml="true" id="sadress" autocomplete="off" hidden />
                        <input type="text" class="weui-select clearContent" nohtml="true" id="radress" autocomplete="off" hidden />
                        <input type="text" class="weui-select clearContent" nohtml="true" id="billNo" autocomplete="off" hidden />
                    </div>
                </div>
                <div class="weui-flex marbot">
                    <div>
                        <div class="placeholder" id="carNoDivHide">运输车牌：<span id="carNoText">{{=value.carNo}}</span></div>
                        <div class="placeholder" >中转车牌：<span id="transferCarNo">{{=value.transferCarNo}}</span></div>
                    </div>
                </div>
                <div class="weui-flex marbot" style="font-size: 14px;">
                    <div class="weui-flex__item">
                        <div class="placeholder" style="color:#4d4d4d">业务日期：{{=moment(value.bizDate).format('YYYY-MM-DD')}}</div>
                    </div>
                </div>
            </div>
            {{~}}
        </script>
    </head>

    <body>
        <div id="main-addsaleorders">
            <form id="addsaleorders-form">
                <div class="weui-cells__group weui-cells__group_form">
                    <p class="saleOrders-entry-message">销售订单明细</p>
                    <div id="weightorders"></div>
                    <p class="saleOrders-entry-message">过磅信息确认</p>
                    <div class="report-contents-item-box">
                        <div class="weui-cell weui-cell_select" style="padding: 15px">
                            <div class="weui-cell_orgs" style="display: -webkit-flex; align-items: center">
                                <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                                    <span>
                                        养殖批次
                                        <span class="red-900" style="position: absolute">&nbsp;*</span>
                                    </span>
                                </span>
                                <span class="weui-cell__ft">
                                    <input hidden type="text" class="weui-select clearContent" nohtml="true" id="breedBatchName" name="breedBatchName" autocomplete="off" />
                                    <select data-plugin="select2" class="weui-select clearContent" id="breedBatchId" name="breedBatchId" style="width: 100%" data-allow-clear="true"></select>
                                </span>
                            </div>
                        </div>
                        <div class="weui-cell weui-cell_select" style="padding: 15px">
                            <div class="weui-cell_orgs" style="display: -webkit-flex; align-items: center">
                                <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                                    <span>
                                        物料
                                        <span class="red-900" style="position: absolute">&nbsp;*</span>
                                    </span>
                                </span>
                                <span class="weui-cell__ft">
                                    <input hidden type="text" class="weui-select clearContent" nohtml="true" id="materialName" name="materialName" autocomplete="off" />
                                    <input hidden type="text" class="weui-select clearContent" nohtml="true" id="materialNumCode" name="materialNumCode" autocomplete="off" />
                                    <input hidden type="text" class="weui-select clearContent" nohtml="true" id="subMeasureUnit" name="subMeasureUnit" autocomplete="off" />
                                    <select data-plugin="select2" class="weui-select clearContent" id="materialId" name="materialId" style="width: 100%" data-allow-clear="true"></select>
                                </span>
                            </div>
                        </div>

                        <div class="weui-cell weui-cell_select" style="padding: 15px">
                            <div class="weui-cell_orgs" style="display: -webkit-flex; align-items: center">
                                <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                                    <span>
                                        销售品类
                                        <span class="red-900" style="position: absolute">&nbsp;*</span>
                                    </span>
                                </span>
                                <span class="weui-cell__ft">
                                    <select data-plugin="select2" class="weui-select clearContent" id="specLevel" name="specLevel" style="width: 100%" data-allow-clear="true"></select>
                                </span>
                            </div>
                        </div>
                        <div class="weui-cell weui-cell_select" style="padding: 15px">
                            <div class="weui-cell_orgs" style="display: -webkit-flex; align-items: center">
                                <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                                    <span>
                                        销售单位
                                        <span class="red-900" style="position: absolute">&nbsp;*</span>
                                    </span>
                                </span>
                                <span class="weui-cell__ft">
                                    <select data-plugin="select2" class="weui-select clearContent" id="baseMeasureUnit" name="baseMeasureUnit" style="width: 100%" data-allow-clear="true"></select>
                                </span>
                            </div>
                        </div>
                        <div id="carNoDiv">
                            <div class="weui-cell weui-cell_select" style="padding: 15px">
                                <div class="weui-cell__hd">
                                    <label>
                                        运输车牌
                                        <span class="red-900">&nbsp;*</span>
                                    </label>
                                </div>
                                <div class="weui-cell__bd">
                                    <input type="text" class="weui-input clearContent masterpad" id="carNo" name="carNo" autocomplete="off" readonly placeholder="请点击选择……" />
                                </div>
                            </div>
                        </div>
                        <div class="weui-cell" style="padding: 15px">
                            <div class="weui-cell__hd">
                                <label class="weui-label">
                                    毛重(kg)
                                    <span class="red-900">&nbsp;*</span>
                                </label>
                            </div>
                            <div class="weui-cell__bd">
                                <input class="weui-input clearContent masterpad" type="number" id="grossWeight" placeholder="请输入毛重..." />
                            </div>
                        </div>
                        <div class="weui-cell" style="padding: 15px">
                            <div class="weui-cell__hd">
                                <label class="weui-label">
                                    皮重(kg)
                                    <span class="red-900">&nbsp;*</span>
                                </label>
                            </div>
                            <div class="weui-cell__bd">
                                <input class="weui-input clearContent masterpad" type="number" id="tareWeight" placeholder="请输入皮重..." />
                            </div>
                        </div>
                        <div class="weui-cell" style="padding: 15px">
                            <div class="weui-cell__hd">
                                <label class="weui-label">
                                    净重(kg)
                                    <span class="red-900">&nbsp;*</span>
                                </label>
                            </div>
                            <div class="weui-cell__bd">
                                <input class="weui-input clearContent masterpad" type="number" min="0" id="weight" placeholder="根据毛重、皮重计算..." readonly />
                            </div>
                        </div>
                        <div class="weui-cell" style="padding: 15px">
                            <div class="weui-cell__hd">
                                <label class="weui-label">
                                    数量(头)
                                    <span class="red-900">&nbsp;*</span>
                                </label>
                            </div>
                            <div class="weui-cell__bd">
                                <input class="weui-input clearContent masterpad" type="number" min="0" id="count" placeholder="请输入数量..." />
                            </div>
                        </div>
                        <div id="saleParityDiv">
                            <div class="weui-cell" style="padding: 15px">
                                <div class="weui-cell__hd">
                                    <label class="weui-label">
                                        胎次
                                        <span class="red-900">&nbsp;*</span>
                                    </label>
                                </div>
                                <div class="weui-cell__bd">
                                    <input class="weui-input clearContent masterpad" type="number" min="0" id="saleParity" placeholder="请输入胎次..." />
                                </div>
                            </div>
                        </div>
                        <div id="pigEarDiv">
                            <div class="weui-cell weui-cell_select" style="padding: 15px" id="search-date">
                                <div class="weui-cell__hd stycon">
                                    <label class="weui-label">
                                        耳号
                                        <span class="red-900">&nbsp;*</span>
                                    </label>
                                </div>
                                <div class="weui-cell__bd" id="choose">
                                    <span style="margin-right: 24px">已选择:0个</span>
                                </div>
                            </div>
                        </div>

                        <div>
                            <div class="weui-cell" style="padding: 15px">
                                <div class="weui-cell__hd"><label class="weui-label">备注</label></div>
                                <div class="weui-cell__bd">
                                    <input class="weui-input clearContent masterpad" type="text" id="deliverRemark" placeholder="请输入备注..." />
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="report-contents-item-box">
                    <div class="weui-cells-border weui-cells_form" id="uploader">
                        <div class="weui-cell">
                            <div class="weui-cell__bd">
                                <div class="weui-uploader">
                                    <div class="weui-uploader__hd" style="text-align: left">
                                        <p class="weui-uploader__title">附件</p>
                                        <div class="weui-uploader__info">
                                            <span id="uploadCount">{{uploadCount}}</span>
                                            /3
                                        </div>
                                    </div>
                                    <div class="weui-uploader__bd">
                                        <ul class="weui-uploader__files" id="uploaderFiles"></ul>
                                        <div class="weui-uploader__input-box">
                                            <input id="uploaderInput" class="weui-uploader__input" type="file" accept="image/*" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="report-contents-item-box operation">
                    <div class="weui-cell operation-child">
                        <a href="javascript:;" class="weui-btn weui-btn_default" style="width: 38%; border-radius: 8px; background-color: #fff; margin-left: 0px" id="returnMain">取消</a>
                        <a href="javascript:;" class="weui-btn weui-btn_primary" style="width: 60%; border-radius: 8px; margin-top: 0px; margin-right: 0px" id="informationSubmit">提交</a>
                    </div>
                </div>
            </form>
        </div>
        <!-- 耳号... -->
        <div id="report-contact" class="weui-popup__container" style="z-index: 9999999">
            <div class="weui-popup__overlay"></div>
            <div class="weui-popup__modal">
                <!-- 你的内容放在这里... -->
                <div class="page" tabindex="-1" id="contact-auction">
                    <div class="weui-search-bar" id="searchBar" style="position: fixed; top: 0; width: 100%; z-index: 10">
                        <div id="searchdiv" role="combobox" aria-haspopup="true" aria-expanded="false" aria-owns="searchResult" class="weui-search-bar__form">
                            <form class="weui-search-bar__form">
                                <div class="weui-search-bar__box">
                                    <i class="weui-icon-search"></i>
                                    <!-- <div class="weui-search-bar__input" id="searchInput"></div> -->
                                    <input type="search" aria-controls="searchResult" class="weui-search-bar__input ios-input-adjustment" id="searchInput" placeholder="请输入查询信息..." required="" />
                                    <a href="javascript:" role="button" title="清除" class="weui-icon-clear" id="searchClear" wah-hotarea="touchend"></a>
                                </div>
                                <label for="searchInput" class="weui-search-bar__label" id="searchText" wah-hotarea="touchend" style="transform-origin: 0px 0px; opacity: 1; transform: scale(1, 1)">
                                    <i class="weui-icon-search"></i>
                                    <span aria-hidden="true">搜索</span>
                                </label>
                            </form>
                        </div>
                        <a href="javascript:" role="button" class="weui-search-bar__cancel-btn" id="searchCancel" wah-hotarea="touchend">取消</a>
                    </div>
                    <div style="overflow-y: auto; margin-top: 40px; height: calc(100vh - 88px)" id="iscroll">
                        <div class="weui-cells weui-cells_checkbox" id="content"></div>
                    </div>
                    <div class="weui-search-bar" style="position: fixed; bottom: 0; width: 100%; text-align: right !important; z-index: 10">
                        <a href="javascript:" role="button" class="weui-btn weui-btn_mini weui-btn_default weui-wa-hotarea" id="cancelSub" style="margin-left: 0; padding: 5px 45px">取消</a>
                        <a href="javascript:" role="button" class="weui-btn weui-btn_mini weui-btn_primary weui-wa-hotarea" id="subPigNumears" style="margin-right: 0; padding: 5px 45px">确定(0)</a>
                    </div>
                </div>
            </div>
        </div>

        <!-- 车牌号 -->
        <div id="report-contactTms" class="weui-popup__container" style="z-index: 99">
            <div class="weui-popup__overlay"></div>
            <div class="weui-popup__modal">
                <!-- 你的内容放在这里... -->
                <div class="page" tabindex="-1" id="contact-auctionTms">
                    <!-- <div class="weui-search-bar" id="searchBarTms" style="position: fixed; top: 0; width: 100%; z-index: 10">
                        <div id="searchdivTms" role="combobox" aria-haspopup="true" aria-expanded="false" aria-owns="searchResult" class="weui-search-bar__form">
                            <form class="weui-search-bar__form">
                                <div class="weui-search-bar__box">
                                    <i class="weui-icon-search"></i>
                                    <input type="search" aria-controls="searchResult" class="weui-search-bar__input ios-input-adjustment" id="searchInputTms" placeholder="请输入查询信息..." required="" />
                                    <a href="javascript:" role="button" title="清除" class="weui-icon-clear" id="searchClearTms" wah-hotarea="touchend"></a>
                                </div>
                                <label for="searchInput" class="weui-search-bar__label" id="searchTextTms" wah-hotarea="touchend" style="transform-origin: 0px 0px; opacity: 1; transform: scale(1, 1)">
                                    <i class="weui-icon-search"></i>
                                    <span aria-hidden="true">搜索</span>
                                </label>
                            </form>
                        </div>
                        <a href="javascript:" role="button" class="weui-search-bar__cancel-btn" id="searchCancelTms" wah-hotarea="touchend">取消</a>
                    </div> -->
                    <div style="overflow-y: auto; height: calc(100vh - 88px)" id="iscrollTms">
                        <div class="weui-cells weui-cells_checkbox" id="contentTms"></div>
                    </div>
                    <div class="weui-search-bar" style="position: fixed; bottom: 0; width: 100%; text-align: right !important; z-index: 10">
                        <a href="javascript:" role="button" class="weui-btn weui-btn_mini weui-btn_default weui-wa-hotarea" id="cancelSubTms" style="margin-left: 0; padding: 5px 45px">取消</a>
                        <a href="javascript:" role="button" class="weui-btn weui-btn_mini weui-btn_primary weui-wa-hotarea" id="subPigNumearsTms" style="margin-right: 0; padding: 5px 45px">确定(0)</a>
                    </div>
                </div>
            </div>
        </div>

        <script type="text/javascript" src="../../../../public/vendor/jquery/jquery.min.js"></script>
        <script type="text/javascript" src="../../../../public/vendor/vue/vue.min.js"></script>
        <script type="text/javascript" src="../../../../public/vendor/moment/moment.min.js"></script>
        <script type="text/javascript" src="../../../../public/vendor/weui/weui.js"></script>
        <script type="text/javascript" src="../../../../public/vendor/weui/jquery-weui.min.js"></script>
        <script type="text/javascript" src="../../../../public/js/common/iosadaptation.js"></script>
        <script type="text/javascript" src="../../../../public/js/config/utils.js"></script>
        <script type="text/javascript" src="../../../../public/vendor/select2/select2.full.min.js"></script>
        <script type="text/javascript" src="../../../../public/vendor/select2/i18n/zh-CN.js"></script>
        <script type="text/javascript" src="../../../../public/vendor/form-entries/form-entries.js"></script>

        <script type="module" src="../../../../public/js/features/breedsales/saleorders/replenish.js"></script>
        <script src="https://cdn.bootcdn.net/ajax/libs/big.js/6.2.0/big.js"></script>
    </body>
</html>
